$OpenBSD: patch-lib_screen_c,v 1.1.1.1 2005/01/25 23:32:22 fgsch Exp $
--- lib/screen.c.orig	Sat Jan 22 21:43:52 2005
+++ lib/screen.c	Sat Jan 22 21:49:26 2005
@@ -20,7 +20,7 @@
 
 #include "misc.h"
 
-#ifndef TIOCGWINSZ
+#if !defined(TIOCGWINSZ) || defined(__OpenBSD__)
 #include <sys/ioctl.h>
 #endif
 
